package com.yc.pre.service;

import com.yc.pre.entity.PageResult;
import com.yc.pre.entity.PreUserJwtRes;
import com.yc.pre.entity.dto.CaptchaDetail;
import com.yc.pre.entity.dto.PreLoginResponse;
import com.yc.pre.entity.dto.PreSignUserDto;
import com.yc.pre.entity.vo.*;

/**
 * @ClassName PreSignUserService
 * @Description PreSignUserService
 * @Date 2021/02/08 15:05:31
 * @Created by ccc-j
 * @email ccc-ju@outlook.com
 */
public interface PreSignUserService {

    public PageResult<PreSignUserDto> getAllUser(PreSignUserVo preSignUserVo);

    PreUserJwtRes login(UserLoginVo userLoginVo);

    void updatePassword(EditPasswordRequest request, Long userId);

    void resetPassword(Long id);

    void deleteUser(Long id);

    void addUser(AddUserRequest request);

    CaptchaDetail getCaptcha(String phone);

    PreLoginResponse preLogin(String phone);
}
